package com.aote.util.printLog;

import org.apache.log4j.Logger;
import org.json.JSONObject;

public class PrintLog {
    private static Logger logger = Logger.getLogger(PrintLog.class);
    public static void info(Object obj) {
        logger.info(obj.toString());
    }

    public static void error(Object obj) {
        logger.error(obj.toString());
    }

    public static void warn(Object obj) {
        logger.error(obj.toString());
    }
    public static void type(JSONObject obj,String name){
        logger.info(obj.get(name).getClass().getSimpleName());
    }
}
